package com.ts.content.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ts.content.dao.PostDao;
import com.ts.content.dao.TopicDao;
import com.ts.content.dto.TopicDTO;
import com.ts.content.entity.PostEntity;
import com.ts.content.entity.TopicEntity;
import com.ts.content.service.PostService;
import com.ts.content.service.TopicService;
import org.springframework.stereotype.Service;

@Service
public class TopicServiceImpl extends ServiceImpl<TopicDao,TopicEntity> implements TopicService {

    @Override
    public IPage<TopicDTO> getTopicList(IPage<TopicDTO> page) {
        return baseMapper.getTopicList(page);
    }
}
